package com.zbkj.crmeb.store.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 功能描述: 拼团订单信息表
 * @Author: wangzh
 * @Date: 2022/12/1 13:58
 */
@Data
@Accessors(chain = true)
@ApiModel("StoreOrderGroupInfo对象")
@TableName("eb_store_order_group_info")
public class StoreOrderGroupInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("拼团中的订单id")
    private String orderIds;

    @ApiModelProperty("拼团商品id")
    private Integer productId;

    @ApiModelProperty("商品需要的拼团人数")
    private Integer productGroupNumber;

    @ApiModelProperty("参加该拼团的用户id")
    private String uids;

    @ApiModelProperty("拼团状态（1：成功）")
    private Boolean status;

    @ApiModelProperty("商户id")
    private Integer merId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
}
